package com.ys.mapper.account;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AccountMapper {
    /*
     * 根据Pbid删除预支账户报销单子表信息
     */
    void deleteAdvanceAccountReimbursementByPbid(@Param("pbid")String pbid);

    /*
     * 根据Pbid删除应付账户支付单子表信息
     */
	void deleteBatchTcwNeedPayAccountPayItemByPbid(@Param("pbid")String pbid);

	/*
	 * 更新应付台账的已付金额
	 */
	public void updateTcwNeedPayLedgerDetailOfAmount(@Param("id")Long id);

	/*
	 * 更新应付台账明细的状态
	 */
	public void updateTcwNeedPayLedgerDetailOfState();

}